#include "DXUT.h"
#include "ShaderDemo.h"
INT WINAPI wWinMain( HINSTANCE, HINSTANCE, LPWSTR, int );
int main()
{
	return wWinMain( (HINSTANCE)GetModuleHandle(NULL),(HINSTANCE)GetModuleHandle(NULL),NULL,SW_SHOWNORMAL);

}
INT WINAPI wWinMain( HINSTANCE, HINSTANCE, LPWSTR, int )
{
	_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); 

#ifdef _DEBUG
 	Singleton<CGame>::Instance()->Run (1024,768,Singleton<CShaderDemo>::Instance(),Singleton<CShaderDemo>::Instance());
	return 0;
#else
		Singleton<CGame>::Instance()->Run(1024,768,Singleton<CShaderDemo>::Instance(),Singleton<CShaderDemo>::Instance());
			return 0;
#endif // _DEBUG
	//	//  
 //


}